<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="onein" uri="http://www.onein.cn/jsp/taglib"%>
<%@ taglib prefix="onein" uri="http://www.onein.cn/jsp/taglib"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户注册  | 万应教育</title>
<jsp:include page="/WEB-INF/inc/meta.jsp"/>
<link href='<onein:url value="/styles/all.css"/>' type="text/css" rel="stylesheet" />
<script src="<onein:url value="/scripts/jquery.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/register.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/My97DatePicker/WdatePicker.js"/>" type="text/javascript"></script>
</head>

<body>
	<jsp:include page="/WEB-INF/inc/header.jsp"/>
    <jsp:include page="/WEB-INF/inc/menu.jsp"/>
    <div id="bodyWrap">
      <div class="regSelectAgesSelected">
   		  <div>
   		     推广内容！！！！！<br/><br/><br/><br/><br/>
          </div>          
      </div>
      <div class="regSelectAgesNormal" style="text-align:center" id="bottomDiv">
      	<c:if test="${products != null }">
      	<div style="text-align:left">产品信息:</div>
      	<table width="60%" align="center">
   		   <tr align="center">
   		     <th>编号</th>
   		     <th>名称</th>
   		     <th>类型</th>
   		     <th>价格</th>
   		     <th width="30%">描述</th>
   		   </tr>
   		   <c:forEach items="${products}" var="product" varStatus="i">
   		     <tr align="center">
   		       <td>${i.index + 1 }</td>
   		       <td>${product.name }</td>
   		       <td>${product.type }</td>
   		       <td>￥${product.price}元</td>
   		       <td>${product.description }</td>
   		     </tr>
   		   </c:forEach>
   		 </table>
      	 </c:if>
      	
      	<c:if test="${order == null }">
      	   没有您的订单信息,请确认您是否已经支付。
      	</c:if>
      	<c:if test="${order != null }">
      	<div style="text-align:left">订单信息:</div>
      	<table width="60%" align="center">
   		   <tr align="center">
   		     <th>订单编号</th>
   		     <th>订单状态</th>
   		     <th>订单金额</th>
   		     <th>订单日期</th>
   		   </tr>
   		   <tr align="center">
   		       <td>${order.orderNo }</td>
   		       <td>${order.orderStatus }</td>
   		       <td>￥${order.amount}元</td>
   		       <td>${order.orderDate}</td>
   		   </tr>
   		  </table>
      	 </c:if>
      	 
        <div class="ca"></div> 
      </div>   
      
      <div class="regSelectAgesNormal" style="height:50px"><!--正常状态css为regSelectAgesNormal-->
         <div class="regStep3Bt">
           <a href="<onein:url value="/center"/>" class="reg2botton1"><span>立即进入用户中心 </span></a>
         </div>
      </div>
       
     	<div class="ca"></div>
      </div>

    <jsp:include page="/WEB-INF/inc/footer.jsp"/>
</body>
</html>
